package com.deam.imsdk.dao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/5/10.
 */
@Entity
public class ConversationDao {
    @Id(autoincrement = true)
    private Long id;
    //接受人id
    private String acceptorId;
    //发送人id
    private String senderId;
    //唯一标识
    private String identifying;
    //内容
    private String context;
    //时间
    private long time;
    //类型
    private String type;
    @Generated(hash = 2111491909)
    public ConversationDao(Long id, String acceptorId, String senderId,
            String identifying, String context, long time, String type) {
        this.id = id;
        this.acceptorId = acceptorId;
        this.senderId = senderId;
        this.identifying = identifying;
        this.context = context;
        this.time = time;
        this.type = type;
    }
    @Generated(hash = 1829124103)
    public ConversationDao() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getAcceptorId() {
        return this.acceptorId;
    }
    public void setAcceptorId(String acceptorId) {
        this.acceptorId = acceptorId;
    }
    public String getSenderId() {
        return this.senderId;
    }
    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }
    public String getIdentifying() {
        return this.identifying;
    }
    public void setIdentifying(String identifying) {
        this.identifying = identifying;
    }
    public String getContext() {
        return this.context;
    }
    public void setContext(String context) {
        this.context = context;
    }
    public long getTime() {
        return this.time;
    }
    public void setTime(long time) {
        this.time = time;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }

}
